﻿@model MobileTrack.Web.ViewModels.EditAbonoViewModel
@using (this.Html.BeginForm())
{
    <fieldset>
        @this.Html.HiddenFor(m => m.Id)

        @this.Html.LabelFor(m => m.Descripcion)
        @this.Html.ValidationMessageFor(m => m.Descripcion)
        @this.Html.TextBoxFor(m => m.Descripcion)

        @this.Html.LabelFor(m => m.Precio)
        @this.Html.ValidationMessageFor(m => m.Precio)
        @this.Html.TextBoxFor(m => m.Precio)

        @this.Html.LabelFor(m => m.FechaInicio)
        @this.Html.ValidationMessageFor(m => m.FechaInicio)
        @this.Html.TextBoxFor(m => m.FechaInicio)

        @this.Html.LabelFor(m => m.FechaFin)
        @this.Html.ValidationMessageFor(m => m.FechaFin)
        @this.Html.TextBoxFor(m => m.FechaFin)

        @this.Html.LabelFor(m => m.OperadorId)
        @this.Html.ValidationMessageFor(m => m.OperadorId)
        @this.Html.DropDownListFor(m => m.OperadorId, (IEnumerable<SelectListItem>)this.ViewBag.Operadores)
    </fieldset>
}